package com.bz.service.socket;

import com.bz.model.FaqEntry;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FaqEntryRepository extends ElasticsearchRepository<FaqEntry, String> {

    List<FaqEntry> findByQuestionContaining(String keyword);

}